//
//  HRZTool.h
//  EMarket
//
//  Created by 石头 on 2018/8/30.
//  Copyright © 2018 好日子. All rights reserved.
//

#import <Foundation/Foundation.h>

@class HRZUserInfo;
@class HRZLocalOrderStatusModel;
@class HRZHomeRecommentBaseItem;

@interface HRZTool : NSObject

/** 设置当前登陆用户信息 */
+ (void)setUserShopInfo:(HRZUserInfo *)userInfo;
/** 获取当前登陆用户信息 */
+ (HRZUserInfo *)getUserShopInfo;

/** 获得当前门店ID */
+ (NSInteger)getUserShopId;

/** 设置用户是否登陆 */
+ (void)setUserLoginStatus:(BOOL)isLogin;
/** 获取用户是否登陆 */
+ (BOOL)getUserLoginStatus;

/** 获取本地信息：订单状态 */
+ (NSArray <HRZLocalOrderStatusModel *>*)getLocalFileOrderStatusInfo;

/** 首页推荐item 转化 */
+ (HRZHomeRecommentBaseItem*)homeRecommentNetItemTurnIOSItem:(id)item;

/** 获取手机设备ID */
+ (NSString *)getCurrentPhoneDeviceUuid;

/** 获取上次版本信息 */
+ (NSString *)hrz_GetLastOpenAppVersion;
/** 保存新版本号 */
+ (void)hrz_SaveNewAppVersion:(NSString *)appVersion;

@end
